<ion-view view-title="信任登录" class="login modify findPsd">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
	<!--描述滑动块-->
	<ion-content class="has-header bg">

		<div class="bars">
			<div class="header">
				<img ng-src="{{input.headimgurl==''?'./img/6_15_2.png':input.headimgurl}}" />
				<div class="titles">Hi!{{input.nickname}},欢迎来未来万家!</div>
			</div>
			<div class="row top">
				<div class="col padding-0" on-tap="activeTab(0)">
					<div ng-class="selectTab==0?'top-activated':''">绑定已有账号</div>
				</div>
				<div class="col padding-0" on-tap="activeTab(1)">
					<div ng-class="selectTab==1?'top-activated':''">绑定新账号</div>
				</div>
			</div>
		</div>

		<!--描述滑动块-->
		<ion-slide-box delegate-handle="tab-handle" on-touch="onTouch()" on-release="onRelease()" draw-slide="false" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false">
			<!--描述行业展会-->
			<ion-slide>
				<div class="list" style="margin-top: 0;">
					<div class="item item-input padding-0">
						<label>账号</label>
						<input type="text" name="username" placeholder="请输入账号" ng-model="input.username" />
					</div>
					<div class="item item-input">
						<label>密码</label>
						<input type="{{inputType}}" name="password" placeholder="请输入密码" ng-model="input.password" />
						<img src="{{inputType=='password'?'./img/guilin/other/icon_eyeclose.png':'./img/guilin/other/icon_eyeopen.png'}}" width="17" on-tap="showPassword()" class="margin-right-10-my" />
					</div>
				</div>
				<div class="basebtn" ng-class="input.username&&input.password?'orangeBtn':'grayBtn'" on-tap="onBind()">绑定已有账号</div>
			</ion-slide>
			<ion-slide>
				<div class="list" style="margin-top: 0;">
					<div class="item item-input padding-0">
						<label>手机号</label>
						<input type="text" name="mobile" placeholder="请输入手机号" ng-model="input.mobile" />
					</div>
					<!--<div class="item item-input padding-0" style="height: 100px;">
						<div class="title">验证码</div>
						<div style="padding-left: 23px;">
							<div class="item item-input" style="border-color: white;margin-bottom: 0;">
								<input type="text" maxlength="4" placeholder="图形验证码" ng-model="input.graphverifycode" />
								<img src={{input.graphverifycode_url}} on-tap="updateVerifycode()" title="验证码" class="imgCode" />
							</div>
							<div style="height: 1px;border: 1px solid #e7e7e7;"></div>
							<div class="item item-input" style="border-color: white;">
								<input type="text" maxlength="6" placeholder="短信验证码" ng-model="input.cellphonevcode" />
								<div class="phoneCode">
									<span ng-show='showGetRegcode' on-tap='onGetRegcode()'>{{regCodeString}}</span>
									<span ng-show='!showGetRegcode'>{{time}}{{otherString}}</span>
								</div>
							</div>
						</div>
					</div>-->
					<li class="item padding-0" style="height: {{needVerifyCode?100:50}}px;">
						<div class="row padding-0">
							<div class="codeDivLeft" style="line-height: {{needVerifyCode?100:50}}px;">
								验证码
							</div>
							<div style="width: 100%;">
								<div class="item item-input" ng-if="needVerifyCode">
									<input type="text" maxlength="4" placeholder="图形验证码" ng-model="input.graphverifycode"/>
									<img src={{input.graphverifycode_url}} on-tap="updateVerifycode()" title="验证码" class="imgCode"/>
								</div>
								<div class="item item-input">
									<input type="text" maxlength="6" placeholder="短信验证码" ng-model="input.cellphonevcode"/>
									<div class="phoneCode">
										<span ng-show='showGetRegcode' on-tap='onGetRegcode()'>{{regCodeString}}</span>
										<span ng-show='!showGetRegcode'>{{time}}{{otherString}}</span>
									</div>
								</div>
							</div>
						</div>
					</li>
					<div class="item item-input">
						<label>新密码</label>
						<input type="{{inputType1}}" name="password1" placeholder="请输入密码" ng-model="input.password1" />
						<img src="{{inputType1=='password'?'./img/guilin/other/icon_eyeclose.png':'./img/guilin/other/icon_eyeopen.png'}}" width="17" on-tap="showPassword1()" class="margin-right-10-my" />
					</div>
					<div class="item item-input">
						<label>确认密码</label>
						<input type="{{inputType2}}" name="password2" placeholder="请输入密码" ng-model="input.password2" />
						<img src="{{inputType2=='password'?'./img/guilin/other/icon_eyeclose.png':'./img/guilin/other/icon_eyeopen.png'}}" width="17" on-tap="showPassword2()" class="margin-right-10-my" />
					</div>

					<!--<div class="item item-input">
						<label>邮箱</label>
						<input type="email" placeholder="请输入邮箱" maxlength="200" ng-model="input.email" />
					</div>-->

					<div class="item item-borderless item-input-inset bg">
						<img src="{{input.seller?'./img/guilin/other/centerout_gx.png':'./img/guilin/other/centerout_no_gx.png'}}" width="17" on-tap="applyStore()" /> &nbsp;我要申请开店
					</div>
				</div>
				<div class="basebtn" ng-class="input.password1&&input.password2?'orangeBtn':'grayBtn'" on-tap="onBindNew()">绑定新账号</div>
			</ion-slide>
		</ion-slide-box>
	</ion-content>
</ion-view>